package mock

import (
	"gitee.com/zhaokangming/tiny-ticktok/model"
)

// DemoVideos 视频的字段信息
var DemoVideos = []model.Video{
	{
		Id:            1,
		Author:        DemoUser,
		PlayUrl:       "https://www.w3schools.com/html/movie.mp4",
		CoverUrl:      "https://cdn.pixabay.com/photo/2016/03/27/18/10/bear-1283347_1280.jpg",
		FavoriteCount: 0,
		CommentCount:  0,
		IsFavorite:    false, // 个人认为是当前用户有没有喜欢该视频
	},
}

// DemoComments 视频所属评论结构体
var DemoComments = []model.Comment{
	{
		Id:         1,
		User:       DemoUser,
		Content:    "Test Comment",
		CreateDate: "05-01",
	},
}

var DemoUser = model.User{
	Id:            1,
	Name:          "TestUser",
	FollowCount:   0,
	FollowerCount: 0,
	IsFollow:      false,
}
